import Mock from 'mockjs'

// nav限时优惠
Mock.mock('/api/navsLimitedTimeOffer', 'get', function () {
  return Mock.mock({
    code: 200,
    data: {
      'list1|6': [
        {
          'id|+1': 1,
          title: '产品设计从入门到精通(BAT名师授课)',
          price: 58,
          originPrice: 104,
          study: '6677人正在学',
          image: require('../../src/assets/hotCurriculum1.jpg'),
          discount: '限时优惠',
        },
      ],
      'list2|6': [
        {
          'id|+1': 1,
          title: '产品设计从入门到精通(BAT名师授课)',
          price: 58,
          originPrice: 104,
          study: '6677人正在学',
          image: require('../../src/assets/newCurriculum1.jpg'),
          discount: '限时优惠',
        },
      ],
    },
  })
})
